package com.duubee.btframe.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "bt-frame")
public class BtFrameProperties {

    private String log;
    private String printType;

    public String getLog() {
        if (this.log == null) {
            return "info";
        }
        return log;
    }

    public void setLog(String log) {
        this.log = log;
    }

    public String getPrintType() {
        if (this.printType == null) {
            return "ALL";
        }
        return printType;
    }

    public void setPrintType(String printType) {
        this.printType = printType;
    }
}
